package net.huashitong.ssydt.security.entity;

import java.io.Serializable;

/**
 * @author huiyang.yu
 */
public class UserSession implements Serializable {

    private static final long serialVersionUID = 3797031736292361419L;

    private String userId;//用户id

    private String userAgent;

    private String errorCode;//错误码

    private String errorMessage;//sign校验失败的原因

    public UserSession() {
        this.userId = "";
        this.userAgent = "";
        this.errorCode = "";
        this.errorMessage = "";
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserAgent() {
        return userAgent;
    }

    public void setUserAgent(String userAgent) {
        this.userAgent = userAgent;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }

    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }
}
